# Generated by Django 4.0.3 on 2022-06-07 16:26

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('links_manager', '0010_targeting_redirect_url'),
    ]

    operations = [
        migrations.RenameField(
            model_name='targeting',
            old_name='device',
            new_name='device_type',
        ),
        migrations.AlterField(
            model_name='stat',
            name='device_type',
            field=models.IntegerField(choices=[(0, 'Desktop'), (1, 'Mobile'), (2, 'Tablet'), (3, 'Unknown')], db_index=True, default=3),
        ),
        migrations.AlterField(
            model_name='targeting',
            name='link',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='targeting', to='links_manager.link'),
        ),
        migrations.AlterField(
            model_name='targeting',
            name='platform',
            field=models.IntegerField(choices=[(0, '(any platform)'), (1, 'Windows'), (2, 'Linux'), (3, 'Android'), (4, 'Mac OS'), (5, 'iOS')], db_index=True, default=0),
        ),
    ]
